<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="entity.User,java.util.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<link rel="Bookmark" href="/favicon.ico" >
<link rel="Shortcut Icon" href="/favicon.ico" />

<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" />

<title>添加管理员列表</title>
</head>
<body>
	<table class="table table-border table-bordered table-bg">
		<thead>
			<tr>
				<th scope="col" colspan="11">添加账户列表</th>
			</tr>
			<tr class="text-c">
				<th width="40">ID</th>
				<th width="90">账户名</th>
				<th width="90">用户密码</th>
				<th width="90">真实姓名</th>
				<th width="90">性别</th>
				<th width="90">年龄</th>
				<th width="90">联系电话</th>
				<th width="90">部门编号</th>
				<th width="90">账户权限</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${user }" var="u">
			<tr class="text-c">
				<td>${u.id }</td>
				<td>${u.uName }</td>
				<td>${u.uPwd }</td>
				<td>${u.uRealName }</td>
				<td>${u.uSex }</td>
				<td>${u.uAge }</td>
				<td>${u.uPhone }</td>
				<td>${u.deptNo }</td>
				<td class="td-status"><span class="label label-success radius">${u.power }</span></td>
			</tr>
			</c:forEach>
		</tbody>
	</table>
</body>
</html>